﻿using AutoMapper;
using Hicap.AuthorizationServer.Core.Models.Sys;

namespace Hicap.AuthorizationServer.Sys.DTO.AuthObjects.LTMAutoMapper
{
    /// <summary>
    /// 配置AuthObject的AutoMapper
    /// </summary>
    internal static class CustomerAuthObjectMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            //    configuration.CreateMap <AuthObject, AuthObjectDto>();
            configuration.CreateMap<AuthObject, AuthObjectListDto>();
            configuration.CreateMap<AuthObjectEditDto, AuthObject>();
            configuration.CreateMap<AuthObjectListDto, AuthObjectEditDto>();
            // configuration.CreateMap<CreateAuthObjectInput, AuthObject>();
            //        configuration.CreateMap<AuthObject, GetAuthObjectForEditOutput>();
        }
    }
}